package com.example.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.NoRepositoryBean;

import com.example.bean.OrderCondition;
import com.example.model.Order;

@NoRepositoryBean
public interface OrderRepositoryCustm {

    Order findByOrderNum(String orderNum);

    Page<Order> findByCriteria(OrderCondition orderCondition, Pageable pageable);

}
